import React from 'react'
import {Editor } from '@tinymce/tinymce-react'
export default function Text() {
  return (
    <div style={{height : '100%'}}>
      <Editor
        init={{
          height: 700,
          language: "zh_CN",
          plugins: [
            "advlist autolink lists link image charmap print preview anchor",
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table paste code help wordcount",
          ],
          toolbar:
            "undo redo | formatselect |fontselect fontsizeselect | bold italic backcolor forecolor | \
             alignleft aligncenter alignright alignjustify | \
             bullist numlist outdent indent | removeformat | help",
        }}
        style={{
          height : '100%'
        }}
       />
    </div>
  )
}
